package com.ztmg.water.controller;

import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class AppController {

    @GetMapping("hello")
    @ApiImplicitParams({
            @ApiImplicitParam(paramType = "header", name = "waterToken", required = true, value = "waterToken", dataType =
                    "String"),
    })
    public String hello(){
        return "Hello World";
    }
}
